penguin = [
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,01,01,01,00,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,01,01,01,01,00,00,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,00,01,01,01,01,01,01,00,00,00,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,00,00,00,00,01,01,01,00,00,00,00,00,00,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,00,01,00,00,01,01,00,00,00,01,01,00,00,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,00,01,01,00,00,01,01,01,00,00,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,00,01,01,01,00,01,01,01,00,00,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,00,25,25,25,25,25,25,25,01,01,00,00,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,25,25,25,25,25,25,25,25,25,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,25,25,25,25,25,25,25,25,25,25,25,25,25,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,25,25,25,25,25,25,25,25,25,25,25,25,25,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,25,25,25,25,25,25,25,25,01,01,25,25,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,25,25,25,01,01,25,25,25,25,00,01,01,01,00,00,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,25,25,25,25,01,01,00,00,01,01,00,00,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,00,00,01,01,25,01,01,01,01,00,00,00,00,01,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,00,00,01,01,01,01,01,00,00,00,00,00,00,01,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,00,00,00,01,01,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,00,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,00,01,01,01,01,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,01,01,00,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,01,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,00,01,01,01,01,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,01,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,00,01,01,01,01,01,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,00,01,01,01,01,01,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,00,01,01,01,01,01,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,01,01,00,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,00,01,01,01,01,01,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,01,01,00,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,00,01,01,01,01,01,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,00,01,01,01,01,01,00,00,00,00,00,00],
[00,00,00,00,00,00,00,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,01,00,00,00,00,00,00],
[00,00,00,00,00,00,00,01,01,01,01,00,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,00,00,00,00,00,00],
[00,00,00,00,00,00,00,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,01,00,00,00,00,00,00],
[00,00,00,00,00,00,00,25,25,25,25,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,01,01,01,00,00,00,00,00,00],
[00,00,00,00,00,00,00,25,25,25,25,25,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,25,25,01,01,01,01,01,01,01,01,25,00,00,00,00,00,00],
[00,00,00,00,00,00,01,25,25,25,25,25,25,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,25,25,25,01,01,01,01,01,01,25,25,25,00,00,00,00,00],
[00,00,00,00,00,00,01,25,25,25,25,25,25,25,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,25,25,25,01,01,01,01,01,25,25,25,01,00,00,00,00,00],
[00,00,00,00,00,01,25,25,25,25,25,25,25,25,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,25,25,25,25,01,01,01,25,25,25,25,01,00,00,00,00,00],
[00,25,25,25,25,25,25,25,25,25,25,25,25,25,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,25,25,25,25,25,25,25,25,25,25,25,01,01,00,00,00,00],
[01,25,25,25,25,25,25,25,25,25,25,25,25,25,25,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,25,25,25,25,25,25,25,25,25,25,25,01,01,01,00,00,00],
[00,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,25,25,25,25,25,25,25,25,25,25,25,25,01,01,01,00,00],
[00,01,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,25,25,25,25,25,25,25,25,25,25,25,25,25,25,01,01,00],
[00,01,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,01,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,01],
[00,01,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,01,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,00,01,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,01],
[00,01,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,01,00,01,00,00,00,00,00,00,00,00,01,01,01,01,00,01,25,25,25,25,25,25,25,25,25,25,25,25,25,25,01,01,00],
[01,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,00,01,25,25,25,25,25,25,25,25,25,25,25,25,25,01,00,00,00],
[01,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,25,25,25,25,25,25,25,25,25,01,01,01,00,00,00,00,00],
[00,01,01,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,25,25,25,25,25,25,25,25,01,01,00,00,00,00,00,00,00],
[00,00,01,01,01,01,25,25,25,25,25,25,25,25,25,25,25,25,25,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,01,25,25,25,25,25,25,25,01,01,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,01,01,01,01,25,25,25,25,25,25,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,25,25,25,25,01,01,01,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,01,01,01,01,25,25,25,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00],
[00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,01,01,01,01,00,00,00,00,00,00,00,00,00,00,00,00]]
